package com.cyzy.pojo.entity;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class RecruitCard implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    //标题
    public String title;
    //标签
    private List<RecruitTag> tags = new ArrayList<>();
    //头像路径
    private String avatar;
    //选择招募帖子的类型
    private String kind;
    //发布时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime postTime;
    //具体介绍
    private String introduction;
    //二维码图片路径
    private String QRCode;
    //帖子的进行状态  未开始/进行中/已结束
    private String status;
    //发布者
    private String publisher;
    //校区选择
    private String campus;
    //招募进行时间
    private String startTime;
    //招募结束时间
    private String endTime;
    //是否展示 默认1展示 0不展示 此字段目的实现伪删除
    private Integer displayed;
}
